// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
/** 获取家庭列表 GET /api/rule */
export async function getFamilyList(
  params: {
    createEndDate: string;
    createStartDate: string;
    focus: number;
    lastReportEndDate: string;
    lastReportStartDate: string;
    name: string;
    sessionEnd: number;
    sessionStart: number;
  },
  options?: { [key: string]: any },
) {
  return request<API.RuleList>('/AIFamilyConsultant/admin/user/login', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
